package com.iqik.rocket.pojo;

import lombok.Data;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Entity
@Table(name = "t_order")
public class Order implements Serializable {
    @Id
    @Column(name = "id")
    private String id;
    @Column(name = "good_id")
    private String goodId;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "status")
    private OrderStatus status;

}
